package com.cc.bsp.domain;

import java.util.List;

import com.cc.bsp.domain.exception.DomainException;
import com.cc.bsp.persistence.dao.IQueryPageOrder;

public interface DomainRepositoryService {

	public void create(Domain domain) throws DomainException;

	public void update(Domain domain) throws DomainException;

	public void delete(Domain domain) throws DomainException;

	public Domain findById(java.io.Serializable id) throws DomainException;

	public Domain findOne(Domain domain) throws DomainException;

	public List<Domain> findList(Domain domain, IQueryPageOrder pageOrder)throws DomainException;

	public List<Domain> findAll(IQueryPageOrder pageOrder)throws DomainException;

	public List<Domain> findList(Domain domain) throws DomainException;

	public List<Domain> findAll() throws DomainException;

}
